package com.mt.grand.strategy;

public class PayState {

    private String msg;
    private boolean code;

    public PayState(String msg,boolean code){
        this.msg = msg;
        this.code = code;
    }
    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public boolean isCode() {
        return code;
    }

    public void setCode(boolean code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "MSG:"+this.msg + "\n"
                +"CODE:"+ this.code;
    }
}